package com.wing.purchase.model.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.math.BigDecimal;

/**
 * 报价单明细
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pur_purchase_quotation_detail")
public class PurchaseQuotationDetail extends BaseEntity<PurchaseQuotationDetail> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 报价单ID
     */
    private Long purchaseQuotationId;

    /**
     * 询价单明细ID
     */
    private Long purchaseEnquiryDetailId;

    /**
     * 报价含税单价
     */
    private BigDecimal offerTaxPrice;

    /**
     * 报价除税单价
     */
    private BigDecimal offerPrice;

    /**
     * 可供应量
     */
    private BigDecimal supply;

    /**
     * 税率
     */
    private BigDecimal rate;

    /**
     * 税额
     */
    private BigDecimal rateAmount;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 合计金额
     */
    private BigDecimal totalAmount;

    /**
     * 供应商ID
     */
    private Long supplierId;

    /**
     * 是否分配
     */
    private Boolean hasAssign;

    /**
     * 分配采购量
     */
    private BigDecimal allocationPurchases;

    /**
     * 是否生单
     */
    private Boolean hasGenerateOrder;

}
